package com.fourth.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author Mr.ma
 * @since 2023/3/8 16:13
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class WxPayConfiguration {
    @Value("${weixin.appid}")
    private String appid;
    @Value("${weixin.mch_id}")
    private String mchid;
    @Value("${weixin.api_key}")
    private String apiKey;
    @Value("${weixin.notify_url}")
    private String notifyUrl;
}
